package com.puti.doctor.domian;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

//患者-个人信息 患者-个人信息对象 patient_info
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class PatientInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 患者ID */
    private Long patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 患者密码 */
    @Excel(name = "患者密码")
    private String patientPassword;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long patientInquiry;

    /** 支付问诊金额 */
    @Excel(name = "支付问诊金额")
    private BigDecimal patientPay;

    /** 病情 */
    @Excel(name = "病情")
    private String patientSituation;

    /** 问诊医师ID */
    @Excel(name = "问诊医师ID")
    private Long patientDoctorId;

    /** 问诊医师隶属医院 */
    @Excel(name = "问诊医师隶属医院")
    private Long patientHospitalId;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String patientAddress;

    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientName()
    {
        return patientName;
    }
    public void setPatientPassword(String patientPassword)
    {
        this.patientPassword = patientPassword;
    }

    public String getPatientPassword()
    {
        return patientPassword;
    }
    public void setPatientInquiry(Long patientInquiry)
    {
        this.patientInquiry = patientInquiry;
    }

    public Long getPatientInquiry()
    {
        return patientInquiry;
    }
    public void setPatientPay(BigDecimal patientPay)
    {
        this.patientPay = patientPay;
    }

    public BigDecimal getPatientPay()
    {
        return patientPay;
    }
    public void setPatientSituation(String patientSituation)
    {
        this.patientSituation = patientSituation;
    }

    public String getPatientSituation()
    {
        return patientSituation;
    }
    public void setPatientDoctorId(Long patientDoctorId)
    {
        this.patientDoctorId = patientDoctorId;
    }

    public Long getPatientDoctorId()
    {
        return patientDoctorId;
    }
    public void setPatientHospitalId(Long patientHospitalId)
    {
        this.patientHospitalId = patientHospitalId;
    }

    public Long getPatientHospitalId()
    {
        return patientHospitalId;
    }
    public void setPatientAddress(String patientAddress)
    {
        this.patientAddress = patientAddress;
    }

    public String getPatientAddress()
    {
        return patientAddress;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("patientId", getPatientId())
                .append("patientName", getPatientName())
                .append("patientPassword", getPatientPassword())
                .append("patientInquiry", getPatientInquiry())
                .append("patientPay", getPatientPay())
                .append("patientSituation", getPatientSituation())
                .append("patientDoctorId", getPatientDoctorId())
                .append("patientHospitalId", getPatientHospitalId())
                .append("patientAddress", getPatientAddress())
                .toString();
    }
}
